/*
 * An XML document type.
 * Localname: tliMReceive_m
 * Namespace: http://sei.buaa.edu/mdt/tli
 * Java type: edu.buaa.sei.mdt.tli.TliMReceiveMDocument
 *
 * Automatically generated - do not modify.
 */
package edu.buaa.sei.mdt.tli.impl;
/**
 * A document containing one tliMReceive_m(@http://sei.buaa.edu/mdt/tli) element.
 *
 * This is a complex type.
 */
public class TliMReceiveMDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliMReceiveMDocument
{
    private static final long serialVersionUID = 1L;
    
    public TliMReceiveMDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TLIMRECEIVEM$0 = 
        new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "tliMReceive_m");
    
    
    /**
     * Gets the "tliMReceive_m" element
     */
    public edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM getTliMReceiveM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM target = null;
            target = (edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM)get_store().find_element_user(TLIMRECEIVEM$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "tliMReceive_m" element
     */
    public void setTliMReceiveM(edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM tliMReceiveM)
    {
        generatedSetterHelperImpl(tliMReceiveM, TLIMRECEIVEM$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "tliMReceive_m" element
     */
    public edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM addNewTliMReceiveM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM target = null;
            target = (edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM)get_store().add_element_user(TLIMRECEIVEM$0);
            return target;
        }
    }
    /**
     * An XML tliMReceive_m(@http://sei.buaa.edu/mdt/tli).
     *
     * This is a complex type.
     */
    public static class TliMReceiveMImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliMReceiveMDocument.TliMReceiveM
    {
        private static final long serialVersionUID = 1L;
        
        public TliMReceiveMImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TS$0 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "ts");
        private static final javax.xml.namespace.QName SRC$2 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "src");
        private static final javax.xml.namespace.QName LINE$4 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "line");
        private static final javax.xml.namespace.QName C$6 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "c");
        private static final javax.xml.namespace.QName AT$8 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "at");
        private static final javax.xml.namespace.QName MSG$10 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "msg");
        private static final javax.xml.namespace.QName MSGTEMP$12 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "msgTemp");
        
        
        /**
         * Gets the "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts getTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().find_element_user(TS$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ts" element
         */
        public void setTs(edu.buaa.sei.mdt.tli.TsDocument.Ts ts)
        {
            generatedSetterHelperImpl(ts, TS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts addNewTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().add_element_user(TS$0);
                return target;
            }
        }
        
        /**
         * Gets the "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src getSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().find_element_user(SRC$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "src" element
         */
        public void setSrc(edu.buaa.sei.mdt.tli.SrcDocument.Src src)
        {
            generatedSetterHelperImpl(src, SRC$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src addNewSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().add_element_user(SRC$2);
                return target;
            }
        }
        
        /**
         * Gets the "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().find_element_user(LINE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(edu.buaa.sei.mdt.tli.LineDocument.Line line)
        {
            generatedSetterHelperImpl(line, LINE$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line addNewLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().add_element_user(LINE$4);
                return target;
            }
        }
        
        /**
         * Gets the "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C getC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().find_element_user(C$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "c" element
         */
        public void setC(edu.buaa.sei.mdt.tli.CDocument.C c)
        {
            generatedSetterHelperImpl(c, C$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C addNewC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().add_element_user(C$6);
                return target;
            }
        }
        
        /**
         * Gets the "at" element
         */
        public edu.buaa.sei.mdt.tli.AtDocument.At getAt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.AtDocument.At target = null;
                target = (edu.buaa.sei.mdt.tli.AtDocument.At)get_store().find_element_user(AT$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "at" element
         */
        public void setAt(edu.buaa.sei.mdt.tli.AtDocument.At at)
        {
            generatedSetterHelperImpl(at, AT$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "at" element
         */
        public edu.buaa.sei.mdt.tli.AtDocument.At addNewAt()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.AtDocument.At target = null;
                target = (edu.buaa.sei.mdt.tli.AtDocument.At)get_store().add_element_user(AT$8);
                return target;
            }
        }
        
        /**
         * Gets the "msg" element
         */
        public edu.buaa.sei.mdt.tli.MsgDocument.Msg getMsg()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgDocument.Msg target = null;
                target = (edu.buaa.sei.mdt.tli.MsgDocument.Msg)get_store().find_element_user(MSG$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "msg" element
         */
        public void setMsg(edu.buaa.sei.mdt.tli.MsgDocument.Msg msg)
        {
            generatedSetterHelperImpl(msg, MSG$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "msg" element
         */
        public edu.buaa.sei.mdt.tli.MsgDocument.Msg addNewMsg()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgDocument.Msg target = null;
                target = (edu.buaa.sei.mdt.tli.MsgDocument.Msg)get_store().add_element_user(MSG$10);
                return target;
            }
        }
        
        /**
         * Gets the "msgTemp" element
         */
        public edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp getMsgTemp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp target = null;
                target = (edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp)get_store().find_element_user(MSGTEMP$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "msgTemp" element
         */
        public void setMsgTemp(edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp msgTemp)
        {
            generatedSetterHelperImpl(msgTemp, MSGTEMP$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "msgTemp" element
         */
        public edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp addNewMsgTemp()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp target = null;
                target = (edu.buaa.sei.mdt.tli.MsgTempDocument.MsgTemp)get_store().add_element_user(MSGTEMP$12);
                return target;
            }
        }
    }
}
